// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    min-width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}
// el-dialog
.el-dialog__wrapper.handle-dialog {
  .el-dialog {
    background: #ffffff !important;
    padding: 0 10px 10px 10px;
    box-sizing: border-box;
    position: relative;
    .el-dialog__header {
      margin-bottom: 0px;
      padding-left: 0px;
      padding-right: 0px;
    }
    .el-dialog__header:before {
      content: '';
      display: block;
      width: 73px;
      height: 3px;
      background:rgba(70,127,255,1);
      position: absolute;
      top: 54px;
      left: 10px;
    }
    .el-dialog__header:after {
      content: '';
      display: block;
      width:100%;
      // height: 2px;
      border: 2px solid rgba(228,232,241,1);;
      margin-top: 10px;
    }
    .el-dialog__body {
      padding-top: 20px;
      padding-bottom: 15px;
      border:2px solid rgba(235, 241, 244, 1);
      // border-bottom:none;
      background:rgba(245,247,249,1);
    }
    .el-dialog__footer {
      padding-top: 10px;
      padding-bottom: 10px;
      border:2px solid rgba(235, 241, 244, 1);
      border-top:none;
      margin-top: -23px;
      background:rgba(245,247,249,1);
    }
  }
}

// 弹窗-form
.layout-content {
  .el-form-item {
    position: relative;
    .el-form-item__content {
      .el-input {
        .el-input__inner {
          // line-height: 34px;
          height: 34px;
        }
      }
      // input的type类型为number隐藏箭头
      input::-webkit-outer-spin-button,
      input::-webkit-inner-spin-button {
        -webkit-appearance: none;
      }
      input[type="number"]{
        -moz-appearance: textfield;
      }
    }
  }
  .el-select {
    width: 100%;
    height: auto !important;
    .el-input.el-input--medium {
      .el-input__inner {
        height: auto !important;
      }
    }
  }
}
// 表格-搜索部分
.custom-search-form {
  .el-form {
    .el-form-item {
      .el-form-item__content {
        .el-input {
          width: 190px !important;
          .el-input__inner::-webkit-input-placeholder {
            color: #C0C5D0 !important;
          }
        }
      }
    }
  }
}